/*
 * N. Dumont, TAI Lab
 *
 * Class Data created on 20 mai 2011
 *
 * Copyright (c) 2009 Thales Communications
 * 160 bd de Valmy - BP82 92704 COLOMBES cedex - France
 * All rights reserved.
 *
 */
package org.diyse.gateway.pubsub.xmpp.internal.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;

/**
 * @author tai
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Data {
	
	@XmlAttribute
	private String type;
	
	@XmlAttribute
	private String value;
	
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {		
		return "data[type="+type+",value="+value+"]";
	}

}
